// src/features/workspaces/store/use-create-workspace-modal.ts
import {atom, useAtom} from 'jotai'

// open state
const modalState = atom(false)

// 控制 workspace创建面板 开关
export const useCreateWorkspaceModal = () => {
    return useAtom(modalState)
}